FOR STARS = 1 TO LINE
Remember the PSET
statement from chapter 5?
PSET ( column , row )
This will SET a Pixel in the "graph paper" of the computer graphics screen.
To use it, the QBasic graphics system is started with a GRAPHICS
statement.
This program draws one white point on the screen:
' Start the graphics system. SCREEN 12 ' LET X = 56 LET Y = 87 PSET( X, Y) ' Set one pixel ' END
The pixel will be white since we have not used a
COLOR
statement
to change the "pen color."
If you run this program, the single pixel might be hard to find, it is so
small.
About where on the screen is this pixel?